﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ElfTyping.Animations;

namespace ElfTyping.Cards
{
    public enum HaremType
    {
        Demon = 0,
        Elf,
        Tan,
        White,
        Last
    }

    public class HaremCard : Card
    {
        static string[] HaremCardNames =
        {
            "Demon Prince",
            "Elven Captive",
            "Tan Brute",
            "White Boy"
        };

        public HaremType HaremType { get; set; }

        private static Random random = new Random();
        public HaremCard()
            : this((HaremType)random.Next((int)HaremType.Last))
        { }

        public HaremCard(HaremType type)
        {
            string typeName = Enum.GetName(typeof(HaremType), type);

            HaremType = type;
            Name = HaremCardNames[(int)type];
            Description = string.Format("10 of these adds {1}\n{0} to your\nHarem!", Name, (type == HaremType.Elf) ? "an" : "a");
            Image = new Animations.Animation(@"Textures\Cards\Harem_" + typeName);
            Indicator = IndicatorHarem;
            Base = ForestCardBase;
            ID = "HAREM-" + typeName;
        }
    }
}
